﻿function OdataParamNoPage(obj) {
    this.url = obj.url;
    this.filter = '';
    this.orderby = '';

    this.urlFormat = function () {
        var u = this.url;

        if (this.filter.length > 0) {
            u = u + "&$filter=" + this.filter
        }

        if (this.orderby.length > 0) {
            u = u + "&$orderby=" + this.orderby;
        }

        return u;
    }
}